hasSecurity

open fun hasSecurity(): Boolean

The part of the config that is specific to Security settings
.meshtastic.Config.SecurityConfig security = 9;

Return

Whether the security field is set.